Provides access to the http request and response objects for when handling http operations
Properties
Name | Returns | Notes | Example |
---|---|---|---|
request | Request |
Get the request object, for example to read cookies:
http.response.getCookie("return-url"); |
|
response | Response |
Get the response object, for example to set cookies
http.response.setCookie("return-url", "/somewhere/i/belong"); |
Ask a question, or offer an answer